import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)
export default new VueRouter({
  routes: [
    {
      path: '/home',
      component: () => import('../views/Home.vue')
    },
    {
      path: '/fenlei',
      component: () => import('../views/Fenlei.vue')
    },
    {
      path: '/shop',
      component: () => import('../views/Shop.vue')
    },
    {
      path: '/me',
      component: () => import('../views/Me.vue')
    },
  ]
  // TODO: 路由
})





